Ext.define('Qms.model.Person',{
    config:{
        name: 'Unknown',
        position: 'Unknown',
        location: 'Unknown'
    },
    constructor: function(config){
        this.initConfig(config);
        return this;
    },
    
    eat: function(foodType){
        alert(this.name + " is eating: "+foodType);
        return this;
    },
    
    getDetails: function(){
        return this.name+" | "+ this.position+" | "+this.location;
    }
    

});


